import request from '@/utils/request'

const api_name = '/hr/service/base-info'

export default {
  get_baseinfos() {
    return request({
      url: `${api_name}/baseInfos`,
      method: 'get'
    })
  },
  get_baseinfo() {
    return request({
      url: `${api_name}/baseInfo`,
      method: 'get'
    })
  },
  store_baseinfo(baseInfo) {
    return request({
      url: `${api_name}/store`,
      method: 'post',
      data: baseInfo
    })
  }
}
